package com.qaml.mes.device.vo.eqp;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @ClassName EqpAttachmentDTO
 * @Description 设备附件
 */
@ApiModel(value = "设备附件对象", description = "设备附件")
@Data
public class EqpAttachmentVO implements Serializable {

    private static final long serialVersionUID = -6361017681223695452L;
    @ApiModelProperty(value = "id")
    private String id;

    /**
     * 附件类型，image, file
     *
     * @see com.qaml.mes.device.enums.AttachmentTypeEnum
     */
    @ApiModelProperty(value = "附件类型")
    private String attachmentType;

    /**
     * 设备id
     */
    @ApiModelProperty(value = "设备id")
    private String eqpId;

    /**
     * 附件地址
     */
    @ApiModelProperty(value = "附件地址")
    private String attachmentUrl;


    /**
     * 附件名称
     */
    @ApiModelProperty(value = "附件名称")
    private String attachmentName;

    /**
     * 是否展示，1 展示 0 不展示
     */
    @ApiModelProperty(value = "是否展示，1 展示 0 不展示")
    private Integer isShow;
}